import { createApp } from 'vue';
import App from './App.vue';
import '@z-vue3-ui/theme-chalk/src/index.scss';
import Icon from '@z-vue3-ui/components/icon';
import Tree from '@z-vue3-ui/components/tree/index';
import Checkbox from '@z-vue3-ui/components/checkbox/index'
import Button from '@z-vue3-ui/components/button/index'
import Input from '@z-vue3-ui/components/input/index'
import { FormItem, Form } from "@z-vue3-ui/components/form"
import Upload from '@z-vue3-ui/components/upload'
import Calendar from '@z-vue3-ui/components/calendar'
import VirtualScrollList from '@z-vue3-ui/components/virtual-scroll-list'

const plugins = [Icon, Tree, Checkbox, Button, Input, FormItem, Form, Upload, Calendar, VirtualScrollList];
const app = createApp(App);
plugins.forEach((plugin) => app.use(plugin));

app.mount('#app');
